/*
 * @Date: 2023-11-23 17:34:21
 * @LastEditors: 付小磊
 */
import request from '@/utils/request'

// 获取角色选择框列表
export function roleOptionSelect () {
    return request({
        url: `/system/role/optionSelect`,
        method: 'get',
    })
}

// 申请角色
export function roleApply (data) {
    return request({
        url: '/system/role/applyRole',
        method: 'POST',
        data: data
    })
}

// 审核角色申请
export function approvalApplyRole (data) {
    return request({
        url: '/system/role/approvalApplyRole',
        method: 'POST',
        data: data
    })
}

// 查看角色申请列表
export function selectApplyRoles (data) {
    return request({
        url: '/system/role/selectApplyRoles',
        method: 'get',
        params: data
    })
}





